from selenium import webdriver

from po.navbar import NavBar

driver = webdriver.Chrome()

driver.get("http://39.107.96.138:3000/")

navbar = NavBar(driver)
registerpage = navbar.go_to_register_page()
registerpage.register_with_user_info("zhangsan","123456",'654321','zhangsan@gmail.com')
text = registerpage.get_error_tip_text()
print(text)
